package com.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.List;

@TableName("collections")
@Data
public class Collections extends BaseEntity{
    @TableId(value = "id",type = IdType.AUTO)
    private String name;
    private String category;
    private String img;
    private String introduce;
    private String era;
    private String area;
    private List<String> categories;
    private String nations;
    private String categoryId;
    private String categoryName;
}
